﻿using Chloe.Annotations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyData.Models
{
    [TableAttribute("SystemConfig")]
    public class SystemConfig : EntityBase
    {
        [StringLength(50)]
        public string StartTime { get; set; }
        [StringLength(50)]
        public string EndTime { get; set; }
        /// <summary>
        /// 公司名
        /// </summary>
        [StringLength(50)]
        public string Company { get; set; }
        /// <summary>
        /// 生产装置
        /// </summary>
        public int ProductNum { get; set; }
        /// <summary>
        /// 运行套数
        /// </summary>
        public int  RunNum { get; set; }
        /// <summary>
        /// 停用套数
        /// </summary>
        public int StopNum { get; set; }
        /// <summary>
        /// 检修套数
        /// </summary>
        public int RepairNum { get; set; }
        /// <summary>
        /// 特殊动火
        /// </summary>
        public int SpecialNum { get; set; }
        /// <summary>
        /// 一级动火
        /// </summary>
        public int OneNum { get; set; }
        /// <summary>
        /// 二级动火
        /// </summary>
        public int TwoNum { get; set; }
        /// <summary>
        /// 限制空间作业
        /// </summary>
        public int LimitNum { get; set; }
        /// <summary>
        /// 试生产
        /// </summary>
        public int IsTest { get; set; }
        /// <summary>
        /// 停车状态
        /// </summary>
        public int IsParking { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        [StringLength(10)]
        public string ChargeMan { get; set; }

        [StringLength(100)]
        public string Anounce { get; set; }
    }
}
